import logo from './logo.svg';
import './App.css';
import { Routes, Route, Link } from "react-router-dom";
import Home from './views/Home'
import About from './views/About'
function App() {
  return (
    <div className="App">
      <Link to="/">Home</Link> |
      <Link to="/about">About</Link>
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
      </header>

      <Routes>
        <Route path="/" element={<Home />} />
        <Route path="about" element={<About />} />
      </Routes>
    </div>
  );
}

export default App;
